package com.atguigu.gulimall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 1 整合mybatis-plus
 * <p>
 * 1.1 导入依赖
 * 1.2 配置
 * <span></span>驱动
 *
 * </p>
 */

/**
 * 3 JSR303
 * 3.1 给bean添加校验注解
 * 3.2 controller 添加注解 Valid
 */
@EnableFeignClients(basePackages = "com.atguigu.gulimall.product.fegin")
// @MapperScan("com.atguigu.gulimall.product.dao")
@EnableDiscoveryClient
@SpringBootApplication
public class GulimallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}
